package com.jgp.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   sys
 * 作者   loufei
 * 时间   2018/3/4
 */
@Controller
@RequestMapping("/sys/menu-ctl")
public class MenuController extends JGPBackController {
    
    @RequestMapping("show-menu-mgr")
    public String showNewMenuMgr() {
        return page("showMenuMgr");
    }
    
    @RequestMapping("edit-menu-item")
    public String editMenuItem(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("editMenuItem");
    }
    
}
